package com.igeek.boot.config;

import com.igeek.boot.entity.Car;
import com.igeek.boot.entity.Person;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
@EnableConfigurationProperties(Person.class)
public class MyConfig1 {

    /*@Bean
    public Car car(){
        Car car = new Car("奔驰",10000);
        return car;
    }*/
}
